using UnityEngine;
using System.Collections;

public class PlayerState {
	public enum State{
		Safe = 1,
		Fighting,
	}
	
	State currentState;
	
	private static PlayerState instance;
	
	public static PlayerState GetInstance(){
		if(instance == null)
			instance = new PlayerState();
		
		return instance;
	}
	
	PlayerState(){
		currentState = State.Safe;
	}
	
	public State stateMachine{
		get{
			return currentState;
		}
		set{
			currentState = value;
		}
	}
}
